/* uDig - User Friendly Desktop Internet GIS client
 * http://udig.refractions.net
 * (C) 2004-2008, Refractions Research Inc.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation;
 * version 2.1 of the License.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 */
package symbology;

/**
 * An AreaSymbol describes how to draw an area. It consists of an boundary line and a fill color.
 * @author John Morris
 * @since 1.1.0
 */
public class AreaSymbol extends Symbol {
    public Color color;
    public double width;
    public Color fill;
    
  
    public AreaSymbol(Color color, double width, Color fill)
    {
        this.color = color;
        this.width = width;
        this.fill = fill;
    }
    
    public AreaSymbol(Color color, double width)
    {
        this(color, width, Color.NONE);      
    }
}
